<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智慧配镜 - 用户管理</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <style>
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .mockup {
            border: 2px solid #e5e7eb;
            border-radius: 1rem;
            overflow: hidden;
        }
        .status-badge {
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-weight: 500;
        }
        .status-active {
            background-color: #D1FAE5;
            color: #065F46;
        }
        .status-inactive {
            background-color: #FEF3C7;
            color: #92400E;
        }
    </style>
</head>
<body class="bg-gradient-to-br from-blue-50 to-blue-100 min-h-screen p-8">
    <div class="mockup w-[400px] h-[600px]">
        <div class="h-full flex flex-col glass-effect">
            <!-- 顶部导航 -->
            <div class="p-4 border-b border-gray-200">
                <div class="flex items-center justify-between">
                    <div class="flex items-center">
                        <button class="mr-4 p-2 rounded-full hover:bg-gray-100">
                            <img src="https://unpkg.com/lucide-static@latest/icons/arrow-left.svg" class="w-6 h-6">
                        </button>
                        <h1 class="text-xl font-bold text-blue-800">用户管理</h1>
                    </div>
                    <button class="p-2 rounded-full hover:bg-gray-100">
                        <img src="https://unpkg.com/lucide-static@latest/icons/plus.svg" class="w-6 h-6">
                    </button>
                </div>
            </div>

            <!-- 搜索和筛选 -->
            <div class="p-4 border-b border-gray-200">
                <div class="space-y-3">
                    <div class="relative">
                        <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
                            <img src="https://unpkg.com/lucide-static@latest/icons/search.svg" class="w-5 h-5 text-gray-400">
                        </div>
                        <input type="text" class="w-full pl-10 pr-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="搜索用户">
                    </div>
                    <div class="flex space-x-2">
                        <button class="flex-1 px-3 py-1 text-sm border border-gray-300 rounded-lg hover:bg-gray-50">全部</button>
                        <button class="flex-1 px-3 py-1 text-sm border border-gray-300 rounded-lg hover:bg-gray-50">活跃</button>
                        <button class="flex-1 px-3 py-1 text-sm border border-gray-300 rounded-lg hover:bg-gray-50">未激活</button>
                    </div>
                </div>
            </div>

            <!-- 用户列表 -->
            <div class="flex-1 overflow-y-auto">
                <!-- 用户1 -->
                <div class="p-4 border-b border-gray-200 hover:bg-gray-50">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gray-100 rounded-full overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e" class="w-full h-full object-cover">
                        </div>
                        <div class="flex-1">
                            <div class="flex items-center justify-between">
                                <h3 class="font-medium text-gray-900">张三</h3>
                                <span class="status-badge status-active">活跃</span>
                            </div>
                            <p class="text-sm text-gray-500">138****8888</p>
                            <div class="flex items-center justify-between mt-2">
                                <span class="text-sm text-gray-500">注册时间：2024-03-15</span>
                                <div class="flex space-x-2">
                                    <button class="p-1 text-gray-500 hover:text-blue-600">
                                        <img src="https://unpkg.com/lucide-static@latest/icons/edit.svg" class="w-5 h-5">
                                    </button>
                                    <button class="p-1 text-gray-500 hover:text-red-600">
                                        <img src="https://unpkg.com/lucide-static@latest/icons/trash-2.svg" class="w-5 h-5">
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 用户2 -->
                <div class="p-4 border-b border-gray-200 hover:bg-gray-50">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gray-100 rounded-full overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1494790108377-be9c29b29330" class="w-full h-full object-cover">
                        </div>
                        <div class="flex-1">
                            <div class="flex items-center justify-between">
                                <h3 class="font-medium text-gray-900">李四</h3>
                                <span class="status-badge status-active">活跃</span>
                            </div>
                            <p class="text-sm text-gray-500">139****9999</p>
                            <div class="flex items-center justify-between mt-2">
                                <span class="text-sm text-gray-500">注册时间：2024-03-14</span>
                                <div class="flex space-x-2">
                                    <button class="p-1 text-gray-500 hover:text-blue-600">
                                        <img src="https://unpkg.com/lucide-static@latest/icons/edit.svg" class="w-5 h-5">
                                    </button>
                                    <button class="p-1 text-gray-500 hover:text-red-600">
                                        <img src="https://unpkg.com/lucide-static@latest/icons/trash-2.svg" class="w-5 h-5">
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 用户3 -->
                <div class="p-4 border-b border-gray-200 hover:bg-gray-50">
                    <div class="flex items-center space-x-4">
                        <div class="w-12 h-12 bg-gray-100 rounded-full overflow-hidden">
                            <img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d" class="w-full h-full object-cover">
                        </div>
                        <div class="flex-1">
                            <div class="flex items-center justify-between">
                                <h3 class="font-medium text-gray-900">王五</h3>
                                <span class="status-badge status-inactive">未激活</span>
                            </div>
                            <p class="text-sm text-gray-500">137****7777</p>
                            <div class="flex items-center justify-between mt-2">
                                <span class="text-sm text-gray-500">注册时间：2024-03-13</span>
                                <div class="flex space-x-2">
                                    <button class="p-1 text-gray-500 hover:text-blue-600">
                                        <img src="https://unpkg.com/lucide-static@latest/icons/edit.svg" class="w-5 h-5">
                                    </button>
                                    <button class="p-1 text-gray-500 hover:text-red-600">
                                        <img src="https://unpkg.com/lucide-static@latest/icons/trash-2.svg" class="w-5 h-5">
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 底部导航 -->
            <div class="p-4 border-t border-gray-200">
                <div class="flex justify-between items-center">
                    <button class="px-4 py-2 text-gray-600 hover:text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/home.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">首页</span>
                    </button>
                    <button class="px-4 py-2 text-gray-600 hover:text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/package.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">商品</span>
                    </button>
                    <button class="px-4 py-2 text-gray-600 hover:text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/clipboard-list.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">订单</span>
                    </button>
                    <button class="px-4 py-2 text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/users.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">用户</span>
                    </button>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 